<template>
    <div style="padding:20px 20px 20px 20px;background:#fff;">
      <div class="table">
        <table border="0" width="95%" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
            <tr>
              <td>时间</td>
              <td>数量</td>
              <td>增长率</td>
            </tr>
            <tr v-for="(item,index) in list" :key="index">
              <td>{{item.time}}</td>
              <td>{{item.num}}</td>
              <td>{{item.inc}}</td>
            </tr>
          </table>
      </div>
    </div>
</template>
<script>
export default {
  name: 'incTable',
  props:['list'],
  data(){
    return {}
  },
  created: function() {
    
  },
  methods: {
    load(tree, treeNode, resolve) {
      setTimeout(() => {
        resolve()
      }, 1000)
    }
  }
};
</script>
<style>
.fen{text-align:center;}
.table{
  width:95%;
  display: flex;
  flex-direction:row;
  justify-content:space-between;
  padding-top:10px;
}
</style>